package com.truyen.persistence.dao;

import java.util.List;

import com.truyen.persistence.dao.base.GenericJpaBaseDao;
import com.truyen.persistence.entity.AnhDep;
import com.truyen.persistence.entity.LoaiAnhDep;
import com.truyen.utils.PagingInfo;

public interface AnhDepDao extends GenericJpaBaseDao<AnhDep, Long> {

	List<AnhDep> getAllLst(String kwSearch, String sort, String sortBy,
			PagingInfo pInfo);

	List<AnhDep> getAllWithIsGot(boolean isGot);

	List<AnhDep> getLstAnhDep(PagingInfo pInfo, boolean isGot, String orderBy);

	List<AnhDep> getLstByType(LoaiAnhDep loaiAnhDep, int maxLimit,
			String orderBy, boolean isGot);

	List<AnhDep> getLstByType(LoaiAnhDep loaiAnhDep, PagingInfo pInfo,
			String orderBy, boolean isGot);

	List<AnhDep> getListRandom(LoaiAnhDep loaiAnhDep, int maxLimit,
			boolean isGot);

	List<Object> getObjectByNameUnsigned(String kwSearch, int max);

	List<AnhDep> getLstByPropertyWithPaging(String column,
			String kwSearch, String orderBy, PagingInfo pInfo, boolean isGot);

}
